home *** CD-ROM | disk | FTP | other *** search
/ PC Graphics Unleashed / PC Graphics Unleashed.iso / povcad40 / metals.inc < prev    next >
Text File  |  1994-09-18  |  2KB  |  95 lines

  1. //  Metal Textures for Polyray
  2. //  by Dan Farmer
  3.  
  4. static define gold_color      <0.5, 0.35, 0.25>
  5. static define new_brass_color <0.70, 0.56, 0.37>
  6. static define copper_color    <0.6, 0.45, 0.4>
  7. static define silver1_color   <0.94, 0.93, 0.83>
  8. static define silver2_color   <0.94, 0.93, 0.86>
  9. static define silver3_color   <0.94, 0.93, 0.90>
  10. static define aluminum_color  <0.55, 0.5, 0.45>
  11. static define bronze_color    <0.36, 0.28, 0.20>
  12.  
  13. static define silver1 
  14. texture {
  15.   surface {
  16.     color silver1_color
  17.     specular silver2_color, 0.85
  18.     ambient 0.2
  19.     diffuse 0.35
  20.     microfacet Gaussian 20
  21.     reflection 0.45
  22.   }
  23. }
  24.  
  25. //Microfacet kinds: Blinn, Cook, Gaussian, Phong, Reitz.
  26. static define new_penny 
  27. texture {
  28.   surface {
  29.     color copper_color
  30.     specular copper_color, 0.85
  31.     ambient 0.1
  32.     diffuse 0.65
  33.     microfacet Cook 12
  34.     reflection 0.45
  35.   }
  36. }
  37.  
  38. static define brass1 
  39. texture {
  40.   surface {
  41.     color new_brass_color
  42.     specular new_brass_color, 0.65
  43.     ambient 0.1
  44.     diffuse 0.45
  45.     microfacet Cook 12
  46.     reflection 0.45
  47.   }
  48. }
  49.  
  50. static define gold 
  51. texture {
  52.   surface {
  53.     color gold_color
  54.     specular gold_color, 0.85
  55.     ambient 0.20
  56.     diffuse 0.35
  57.     microfacet Cook 12
  58.     reflection 0.45
  59.   }
  60. }
  61.  
  62. static define aluminum 
  63. texture {
  64.   surface {
  65.     color aluminum_color
  66.     specular aluminum_color, 0.85
  67.     ambient 0.20
  68.     diffuse 0.35
  69.     microfacet Cook 12
  70.     reflection 0.45
  71.   }
  72. }
  73.  
  74. static define bronze 
  75. texture {
  76.   surface {
  77.     color bronze_color
  78.     specular bronze_color, 0.85
  79.     ambient 0.20
  80.     diffuse 0.55
  81.     microfacet Cook 12
  82.     reflection 0.45
  83.   }
  84. }
  85.  
  86. static define shiny_white
  87. texture {
  88.   surface {
  89.     ambient white, 0.2
  90.     diffuse white, 0.8
  91.     specular white, 0.7
  92.     microfacet Reitz 10
  93.   }
  94. }
  95.